// router/modules/pharmacy.js
import Layout from '@/layout/index.vue'

export default {
    path: '/pharmacy',
    component: Layout,
    meta: { title: '药房工作站', icon: 'MedicineBox' },
    children: [
        { path: 'dispense', name: 'dispense',  component: () => import('@/views/pharmacy/Dispense.vue'),
            meta: { title: '发药' } },
        { path: 'return',   name: 'drugReturn', component: () => import('@/views/pharmacy/Return.vue'),
            meta: { title: '退药' } },
        { path: 'stock',    name: 'drugStock',  component: () => import('@/views/pharmacy/Stock.vue'),
            meta: { title: '药品管理' } }
    ]
}
